import React from 'react'
import ReactDOM from 'react-dom/client'

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
  <div></div>
)

fetch('/api/news/latest')
  .then(response => response.json())
  .then(value => {
    console.log('知乎：', value)
  })

fetch('/inst/subscriptions/recommended_collections')
  .then(response => response.json())
  .then(value => {
    console.log('简书：', value)
  })

console.log(process.env)